<?xml version="1.0"?>
<CslaGeneratorUnit xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Params>
    <DefaultNamespace>Invoices.Business</DefaultNamespace>
    <DefaultFolder />
    <SmartDateDefault>true</SmartDateDefault>
    <AutoCriteria>true</AutoCriteria>
    <AutoTimestampCriteria>false</AutoTimestampCriteria>
    <DatesDefaultStringWithTypeConversion>true</DatesDefaultStringWithTypeConversion>
    <ReadOnlyObjectsCopyAuditing>false</ReadOnlyObjectsCopyAuditing>
    <ReadOnlyObjectsCopyTimestamp>false</ReadOnlyObjectsCopyTimestamp>
    <DefaultDataBase>Invoices</DefaultDataBase>
    <DefaultTransactionType>TransactionScope</DefaultTransactionType>
    <DefaultPersistenceType>SqlConnectionManager</DefaultPersistenceType>
    <DefaultDatabaseContextObject />
    <ORBChildPropertySuffix>s</ORBChildPropertySuffix>
    <ORBCollectionSuffix>Coll</ORBCollectionSuffix>
    <ORBSingleSPSuffix>Relation</ORBSingleSPSuffix>
    <ORBItemsUseSingleSP>true</ORBItemsUseSingleSP>
    <SpAddPrefix>Add</SpAddPrefix>
    <SpDeletePrefix>Delete</SpDeletePrefix>
    <SpUpdatePrefix>Update</SpUpdatePrefix>
    <SpGetPrefix>Get</SpGetPrefix>
    <SpGeneralPrefix />
    <SpAddSuffix />
    <SpDeleteSuffix />
    <SpUpdateSuffix />
    <SpGetSuffix />
    <SpGeneralSuffix />
    <RegenSpNameOnObjectRename>true</RegenSpNameOnObjectRename>
    <SpBoolSoftDeleteColumn>IsActive</SpBoolSoftDeleteColumn>
    <SpIntSoftDeleteColumn />
    <SpIgnoreFilterWhenSoftDeleteIsParam>true</SpIgnoreFilterWhenSoftDeleteIsParam>
    <SpRemoveChildBeforeParent>true</SpRemoveChildBeforeParent>
    <IDGuidDefaultValue>Guid.NewGuid()</IDGuidDefaultValue>
    <IDInt16DefaultValue>_lastId</IDInt16DefaultValue>
    <IDInt32DefaultValue>_lastId</IDInt32DefaultValue>
    <IDInt64DefaultValue>_lastId</IDInt64DefaultValue>
    <FieldNamePrefix>_</FieldNamePrefix>
    <DelegateNamePrefix>d_</DelegateNamePrefix>
    <CreationDateColumn>CreateDate</CreationDateColumn>
    <CreationUserColumn>CreateUser</CreationUserColumn>
    <ChangedDateColumn>ChangeDate</ChangedDateColumn>
    <ChangedUserColumn>ChangeUser</ChangedUserColumn>
    <LogDateAndTime>true</LogDateAndTime>
    <LogInUtc>false</LogInUtc>
    <GetUserMethod>Security.UserInformation.UserId</GetUserMethod>
    <EnforceGenericInheritance>true</EnforceGenericInheritance>
  </Params>
  <GenerationParams>
    <SaveBeforeGenerate>true</SaveBeforeGenerate>
    <TargetFramework>CSLA45DAL</TargetFramework>
    <WriteTodo>true</WriteTodo>
    <BackupOldSource>false</BackupOldSource>
    <RetryOnFileBusy>true</RetryOnFileBusy>
    <SeparateNamespaces>true</SeparateNamespaces>
    <SeparateBaseClasses>false</SeparateBaseClasses>
    <UseDotDesignerFileNameConvention>true</UseDotDesignerFileNameConvention>
    <OutputLanguage>CSharp</OutputLanguage>
    <UpdateOnlyDirtyChildren>true</UpdateOnlyDirtyChildren>
    <PropertyMode>Default</PropertyMode>
    <GenerateAuthorization>FullSupport</GenerateAuthorization>
    <HeaderVerbosity>None</HeaderVerbosity>
    <UseSingleCriteria>false</UseSingleCriteria>
    <UsePublicPropertyInfo>true</UsePublicPropertyInfo>
    <UseChildFactory>false</UseChildFactory>
    <ForceReadOnlyProperties>true</ForceReadOnlyProperties>
    <BaseFilenameSuffix>.Designer</BaseFilenameSuffix>
    <ExtendedFilenameSuffix />
    <ClassCommentFilenameSuffix />
    <SeparateClassComment>false</SeparateClassComment>
    <BaseNamespace>Invoices.Business</BaseNamespace>
    <UtilitiesNamespace>Invoices.Business</UtilitiesNamespace>
    <UtilitiesFolder />
    <DalInterfaceNamespace>Invoices.DataAccess</DalInterfaceNamespace>
    <DalObjectNamespace>Invoices.DataAccess.Sql</DalObjectNamespace>
    <GenerateSprocs>true</GenerateSprocs>
    <OneSpFilePerObject>true</OneSpFilePerObject>
    <UseInlineQueries>SpecifyByObject</UseInlineQueries>
    <ReportObjectNotFound>None</ReportObjectNotFound>
    <GenerateQueriesWithSchema>true</GenerateQueriesWithSchema>
    <GenerateDatabaseClass>false</GenerateDatabaseClass>
    <DalName>Invoices</DalName>
    <UsesLazyGetProperty>false</UsesLazyGetProperty>
    <UsesCslaAuthorizationProvider>true</UsesCslaAuthorizationProvider>
    <GenerateWinForms>true</GenerateWinForms>
    <GenerateWPF>true</GenerateWPF>
    <GenerateSilverlight4>false</GenerateSilverlight4>
    <SilverlightUsingServices>false</SilverlightUsingServices>
    <DatabaseConnection>Invoices</DatabaseConnection>
    <GenerateDTO>false</GenerateDTO>
    <GenerateDalInterface>true</GenerateDalInterface>
    <GenerateDalObject>true</GenerateDalObject>
    <GenerateSynchronous>true</GenerateSynchronous>
    <GenerateAsynchronous>true</GenerateAsynchronous>
    <GenerationDbProviderCollection />
  </GenerationParams>
  <CslaObjects>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Criteria Class - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>CriteriaClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CriteriaSearchInvoice</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>true</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CriteriaSearchInvoice</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Base Class - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerBusinessBindingListBase</ObjectName>
      <CslaBaseClass>BusinessBindingListBaseTC</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T,C</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerBusinessBindingListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerBusinessBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerBusinessListBase</ObjectName>
      <CslaBaseClass>BusinessListBaseTC</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T,C</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerBusinessListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerBusinessBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerDynamicBindingListBase</ObjectName>
      <CslaBaseClass>DynamicBindingListBaseT</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerDynamicBindingListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerBusinessBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerDynamicListBase</ObjectName>
      <CslaBaseClass>DynamicListBaseT</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerDynamicListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerBusinessBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerReadOnlyBindingListBase</ObjectName>
      <CslaBaseClass>ReadOnlyBindingListBaseTC</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T,C</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerReadOnlyBindingListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerReadOnlyBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerReadOnlyListBase</ObjectName>
      <CslaBaseClass>ReadOnlyListBaseTC</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T,C</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>IListLog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerReadOnlyListBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>LoggerReadOnlyBase</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerBusinessBase</ObjectName>
      <CslaBaseClass>BusinessBaseT</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>ILog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerBusinessBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>LogAction</ParameterName>
          <Name>LogAction</Name>
          <PropertyType>CustomType</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Action</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType>LogActions</CustomPropertyType>
          <DeclarationMode>ClassicPropertyWithTypeConversion</DeclarationMode>
          <BackingFieldType>Byte</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>LogDateTime</ParameterName>
          <Name>LogDateTime</Name>
          <PropertyType>DateTime</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Date Time</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ClassicProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>DateTime.Now</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>LogUser</ParameterName>
          <Name>LogUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Useer</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ClassicProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>BaseClass</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>LoggerReadOnlyBase</ObjectName>
      <CslaBaseClass>ReadOnlyBaseT</CslaBaseClass>
      <IsGenericType>true</IsGenericType>
      <GenericArguments>T</GenericArguments>
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces>
        <string>ILog</string>
      </Interfaces>
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>LoggerReadOnlyBase</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>LogAction</ParameterName>
          <Name>LogAction</Name>
          <PropertyType>CustomType</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Action</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType>LogActions</CustomPropertyType>
          <DeclarationMode>ClassicPropertyWithTypeConversion</DeclarationMode>
          <BackingFieldType>Byte</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>LogDateTime</ParameterName>
          <Name>LogDateTime</Name>
          <PropertyType>DateTime</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Date Time</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ClassicProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>DateTime.Now</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>LogUser</ParameterName>
          <Name>LogUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Log Useer</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ClassicProperty</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Unit of Work - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceCreatorGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceCreatorGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Invoice</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>InvoiceEdit</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>ProductTypes</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>ProductTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Creator</UnitOfWorkType>
      <ObjectName>InvoiceCreator</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceCreator</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Invoice</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>InvoiceEdit</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>ProductTypes</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>ProductTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Getter</UnitOfWorkType>
      <ObjectName>InvoiceGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Invoice</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>InvoiceEdit</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>ProductTypes</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>ProductTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>UnitOfWork</ObjectType>
      <UnitOfWorkType>Getter</UnitOfWorkType>
      <ObjectName>InvoiceListGetter</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceListGetter</FileName>
      <UnitOfWorkProperties>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>Invoices</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>InvoiceList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
        <UnitOfWorkProperty>
          <ParameterName />
          <Name>ProductTypes</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <TypeName>ProductTypeNVL</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
        </UnitOfWorkProperty>
      </UnitOfWorkProperties>
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Customers - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries>
        <string>Create</string>
        <string>Read</string>
        <string>Update</string>
        <string>Delete</string>
      </GenerateInlineQueries>
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CustomerEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CustomerEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CustomerId</ParameterName>
          <Name>CustomerId</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>char</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CustomerId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Customer Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FiscalNumber</ParameterName>
          <Name>FiscalNumber</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FiscalNumber</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Fiscal Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine1</ParameterName>
          <Name>AddressLine1</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine1</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line1</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine2</ParameterName>
          <Name>AddressLine2</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine2</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line2</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ZipCode</ParameterName>
          <Name>ZipCode</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ZipCode</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Zip Code</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>State</ParameterName>
          <Name>State</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>State</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>State</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Country</ParameterName>
          <Name>Country</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Country</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Country</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>CustomerId</ParameterName>
              <Name>CustomerId</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>StringFixedLength</DataType>
                <NativeType>char</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>CustomerId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Customers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCustomerEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteCustomerEdit</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddCustomerEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateCustomerEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries>
        <string>Read</string>
      </GenerateInlineQueries>
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CustomerList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CustomerList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCustomerList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>FilteredCriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>Name</ParameterName>
              <Name>Name</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>50</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Name</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Customers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetCustomerList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>CustomerInfo</ItemType>
      <ContainsItem>false</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType>CustomerEdit</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>CustomerInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>CustomerInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>CustomerId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>CustomerId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Name</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Name</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>FiscalNumber</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>FiscalNumber</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>CustomerId</ParameterName>
          <Name>CustomerId</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>char</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CustomerId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Customer Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>FiscalNumber</ParameterName>
          <Name>FiscalNumber</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>FiscalNumber</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Customers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Fiscal Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>CustomerList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Suppliers - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Products</ParameterName>
          <Name>Products</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Products</FriendlyName>
          <TypeName>SupplierProductColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>SelfLoad</LoadingScheme>
          <LazyLoad>true</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>SupplierId</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>For simplicity sake, use the VAT number (no auto increment here).</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine1</ParameterName>
          <Name>AddressLine1</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine1</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line1</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine2</ParameterName>
          <Name>AddressLine2</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine2</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line2</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ZipCode</ParameterName>
          <Name>ZipCode</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ZipCode</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Zip Code</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>State</ParameterName>
          <Name>State</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>State</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>State</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Country</ParameterName>
          <Name>Country</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Country</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Country</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>SupplierId</ParameterName>
              <Name>SupplierId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>SupplierId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Suppliers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>SupplierList</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddSupplierEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateSupplierEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierProductColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierProductColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>SupplierId</ParameterName>
              <Name>SupplierId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>SupplierId</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>ProductsSuppliers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierProductColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>SupplierEdit</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>SupplierProductItem</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddSupplierProductColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateSupplierProductColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierProductItem</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierProductItem</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductSupplierId</ParameterName>
          <Name>ProductSupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductSupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>SupplierProductColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>For simplicity sake, use the VAT number (no auto increment here).</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddSupplierProductItem</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateSupplierProductItem</UpdateProcedureName>
      <DeleteProcedureName>DeleteSupplierProductItem</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries>
        <string>Read</string>
      </GenerateInlineQueries>
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaGetByName</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>Name</ParameterName>
              <Name>Name</Name>
              <PropertyType>String</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>String</DataType>
                <NativeType>varchar</NativeType>
                <Size>50</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>Name</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>Suppliers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierListByName</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>SupplierInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType>SupplierEdit</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>SupplierId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>SupplierId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Name</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Name</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>For simplicity sake, use the VAT number (no auto increment here).</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>SupplierList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierInfoDetail</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierInfoDetail</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Products</ParameterName>
          <Name>Products</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Products</FriendlyName>
          <TypeName>SupplierProductList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>SelfLoad</LoadingScheme>
          <LazyLoad>true</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>SupplierId</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>For simplicity sake, use the VAT number (no auto increment here).</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine1</ParameterName>
          <Name>AddressLine1</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine1</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line1</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>AddressLine2</ParameterName>
          <Name>AddressLine2</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>100</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>AddressLine2</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Address Line2</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ZipCode</ParameterName>
          <Name>ZipCode</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ZipCode</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Zip Code</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>State</ParameterName>
          <Name>State</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>15</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>State</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>State</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Country</ParameterName>
          <Name>Country</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Country</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Country</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>SupplierId</ParameterName>
              <Name>SupplierId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>SupplierId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Suppliers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierInfoDetal</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierProductList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierProductList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>SupplierId</ParameterName>
              <Name>SupplierId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>true</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>SupplierId</ColumnName>
                <IsPrimaryKey>false</IsPrimaryKey>
                <ObjectName>ProductsSuppliers</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetSupplierProductList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>SupplierInfoDetail</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>SupplierProductItnfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>SupplierProductItnfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>SupplierProductItnfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductSupplierId</ParameterName>
          <Name>ProductSupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductSupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>SupplierProductList</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>For simplicity sake, use the VAT number (no auto increment here).</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Suppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Invoices - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>InvoiceLines</ParameterName>
          <Name>InvoiceLines</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Invoice Lines</FriendlyName>
          <TypeName>InvoiceLineCollection</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>Criteria</CriteriaName>
              <PropertyName>InvoiceId</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The invoice internal identification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceNumber</ParameterName>
          <Name>InvoiceNumber</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The public invoice number</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceNumber</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CustomerId</ParameterName>
          <Name>CustomerId</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>char</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CustomerId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Customer Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceDate</ParameterName>
          <Name>InvoiceDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Cost</ParameterName>
          <Name>TotalAmount</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Computed invoice total amount</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Decimal</DataType>
            <NativeType>money</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Cost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Total Amount</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(DateTime.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUser</ParameterName>
          <Name>CreateUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Security.UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUser</ParameterName>
          <Name>ChangeUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUser</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>InvoiceId</ParameterName>
              <Name>InvoiceId</Name>
              <PropertyType>Guid</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Guid</DataType>
                <NativeType>uniqueidentifier</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>InvoiceId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Invoices</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetInvoiceEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteInvoiceEdit</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddInvoiceEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateInvoiceEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceLineCollection</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceLineCollection</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>InvoiceEdit</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>InvoiceLineItem</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddInvoiceLineCollection</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateInvoiceLineCollection</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceLineItem</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceLineItem</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>InvoiceLineId</ParameterName>
          <Name>InvoiceLineId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceLineId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Line Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Cost</ParameterName>
          <Name>Cost</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Decimal</DataType>
            <NativeType>money</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Cost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Cost</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>PercentDiscount</ParameterName>
          <Name>PercentDiscount</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>PercentDiscount</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Percent Discount</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>InvoiceLineCollection</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddInvoiceLineItem</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateInvoiceLineItem</UpdateProcedureName>
      <DeleteProcedureName>DeleteInvoiceLineItem</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceView</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceView</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>InvoiceLines</ParameterName>
          <Name>InvoiceLines</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Invoice Lines</FriendlyName>
          <TypeName>InvoiceLineList</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>InvoiceId</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The invoice internal identification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceNumber</ParameterName>
          <Name>InvoiceNumber</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The public invoice number</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceNumber</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CustomerId</ParameterName>
          <Name>CustomerId</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>char</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CustomerId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Customer Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceDate</ParameterName>
          <Name>InvoiceDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>TotalAmount</ParameterName>
          <Name>TotalAmount</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Computed invoice total amount</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>None</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType />
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName />
            <IsPrimaryKey>false</IsPrimaryKey>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Total Amount</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Is Active</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(DateTime.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUser</ParameterName>
          <Name>CreateUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Security.UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUser</ParameterName>
          <Name>ChangeUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUser</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>RowVersion</ParameterName>
          <Name>RowVersion</Name>
          <PropertyType>ByteArray</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Binary</DataType>
            <NativeType>timestamp</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>RowVersion</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Row Version</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>InvoiceId</ParameterName>
              <Name>InvoiceId</Name>
              <PropertyType>Guid</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Guid</DataType>
                <NativeType>uniqueidentifier</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>InvoiceId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Invoices</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetInvoiceView</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceLineList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceLineList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>InvoiceView</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>InvoiceLineInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceLineInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceLineInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>InvoiceLineId</ParameterName>
          <Name>InvoiceLineId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceLineId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Line Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Quantity</ParameterName>
          <Name>Quantity</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Quantity</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Quantity</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>UnitCost</ParameterName>
          <Name>UnitCost</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Decimal</DataType>
            <NativeType>money</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UnitCost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Unit Cost</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Cost</ParameterName>
          <Name>Cost</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Decimal</DataType>
            <NativeType>money</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Cost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Cost</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>PercentDiscount</ParameterName>
          <Name>PercentDiscount</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>PercentDiscount</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Percent Discount</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>InvoiceLineList</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The invoice internal identification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>CustomCriteriaClass</CriteriaClassMode>
          <NestedClass>false</NestedClass>
          <CustomClass>
            <ObjectName>CriteriaSearchInvoice&lt;T&gt;</ObjectName>
            <AssemblyFile />
            <Type />
            <IsGenericType>true</IsGenericType>
          </CustomClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetInvoiceList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>InvoiceInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters>
        <Property xsi:type="ValueProperty">
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </FindMethodsParameters>
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>InvoiceInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>InvoiceInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>InvoiceId</ParameterName>
          <Name>InvoiceId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The invoice internal identification</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceNumber</ParameterName>
          <Name>InvoiceNumber</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>The public invoice number</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>20</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceNumber</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Number</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CustomerId</ParameterName>
          <Name>CustomerId</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>char</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CustomerId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Customer Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>InvoiceDate</ParameterName>
          <Name>InvoiceDate</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Date</DataType>
            <NativeType>date</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>InvoiceDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Invoice Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>ManagedWithTypeConversion</DeclarationMode>
          <BackingFieldType>SmartDate</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Cost</ParameterName>
          <Name>TotalAmount</Name>
          <PropertyType>Decimal</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary>Computed invoice total amount</Summary>
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Decimal</DataType>
            <NativeType>money</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Cost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>InvoiceLines</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Total Amount</FriendlyName>
          <IsDatabaseBound>false</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>IsActive</ParameterName>
          <Name>IsActive</Name>
          <PropertyType>Boolean</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Boolean</DataType>
            <NativeType>bit</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>IsActive</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Is Active</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateDate</ParameterName>
          <Name>CreateDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>new SmartDate(DateTime.Now)</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>CreateUser</ParameterName>
          <Name>CreateUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>CreateUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>CreateOnly</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Create User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Security.UserInformation.UserId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeDate</ParameterName>
          <Name>ChangeDate</Name>
          <PropertyType>SmartDate</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>DateTime2</DataType>
            <NativeType>datetime2</NativeType>
            <Size>7</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeDate</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change Date</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateDate</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ChangeUser</ParameterName>
          <Name>ChangeUser</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ChangeUser</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Invoices</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Change User</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>$CreateUser</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>InvoiceList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Products - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties>
        <ChildProperty>
          <ParameterName>Suppliers</ParameterName>
          <Name>Suppliers</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <FriendlyName>Suppliers</FriendlyName>
          <TypeName>ProductSupplierColl</TypeName>
          <DeclarationMode>Managed</DeclarationMode>
          <ChildUpdateOrder>0</ChildUpdateOrder>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <LoadingScheme>ParentLoad</LoadingScheme>
          <LazyLoad>false</LazyLoad>
          <ParentLoadProperties />
          <LoadParameters>
            <Parameter>
              <CriteriaName>CriteriaGet</CriteriaName>
              <PropertyName>ProductId</PropertyName>
            </Parameter>
          </LoadParameters>
          <Access>IsPublic</Access>
          <Undoable>true</Undoable>
        </ChildProperty>
      </ChildCollectionProperties>
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductCode</ParameterName>
          <Name>ProductCode</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>nchar</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductCode</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Code</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>UnitCost</ParameterName>
          <Name>UnitCost</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>nchar</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UnitCost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Unit Cost</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockByteNull</ParameterName>
          <Name>StockByteNull</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockByteNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Byte Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockByte</ParameterName>
          <Name>StockByte</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockByte</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Byte</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockShortNull</ParameterName>
          <Name>StockShortNull</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockShortNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Short Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockShort</ParameterName>
          <Name>StockShort</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockShort</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Short</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockIntNull</ParameterName>
          <Name>StockIntNull</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockIntNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Int Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockInt</ParameterName>
          <Name>StockInt</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockInt</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Int</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockLongNull</ParameterName>
          <Name>StockLongNull</Name>
          <PropertyType>Int64</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int64</DataType>
            <NativeType>bigint</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockLongNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Long Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockLong</ParameterName>
          <Name>StockLong</Name>
          <PropertyType>Int64</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int64</DataType>
            <NativeType>bigint</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockLong</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Long</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>ProductId</ParameterName>
              <Name>ProductId</Name>
              <PropertyType>Guid</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Guid</DataType>
                <NativeType>uniqueidentifier</NativeType>
                <Size>0</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ProductId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>Products</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>false</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChildCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductSupplierColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductSupplierColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>ProductEdit</ParentType>
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductSupplierItem</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductSupplierColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductSupplierColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductSupplierItem</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductSupplierItem</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductSupplierId</ParameterName>
          <Name>ProductSupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductSupplierId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>SupplierId</ParameterName>
          <Name>SupplierId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>SupplierId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductsSuppliers</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Supplier Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>ProductSupplierColl</ParentType>
      <ParentProperties>
        <Property xsi:type="ValueProperty">
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </Property>
      </ParentProperties>
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductSupplierItem</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductSupplierItem</UpdateProcedureName>
      <DeleteProcedureName>DeleteProductSupplierItem</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductId</ParameterName>
          <Name>ProductId</Name>
          <PropertyType>Guid</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Guid</DataType>
            <NativeType>uniqueidentifier</NativeType>
            <Size>0</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>UserProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>Guid.NewGuid()</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductCode</ParameterName>
          <Name>ProductCode</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>nchar</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductCode</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Code</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>UnitCost</ParameterName>
          <Name>UnitCost</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>StringFixedLength</DataType>
            <NativeType>nchar</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>UnitCost</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Unit Cost</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockByteNull</ParameterName>
          <Name>StockByteNull</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockByteNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Byte Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockByte</ParameterName>
          <Name>StockByte</Name>
          <PropertyType>Byte</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Byte</DataType>
            <NativeType>tinyint</NativeType>
            <Size>3</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockByte</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Byte</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockShortNull</ParameterName>
          <Name>StockShortNull</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockShortNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Short Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockShort</ParameterName>
          <Name>StockShort</Name>
          <PropertyType>Int16</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int16</DataType>
            <NativeType>smallint</NativeType>
            <Size>5</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockShort</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Short</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockIntNull</ParameterName>
          <Name>StockIntNull</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockIntNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Int Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockInt</ParameterName>
          <Name>StockInt</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockInt</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Int</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockLongNull</ParameterName>
          <Name>StockLongNull</Name>
          <PropertyType>Int64</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>true</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int64</DataType>
            <NativeType>bigint</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockLongNull</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>true</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Long Null</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>StockLong</ParameterName>
          <Name>StockLong</Name>
          <PropertyType>Int64</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int64</DataType>
            <NativeType>bigint</NativeType>
            <Size>19</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>StockLong</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>Products</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Stock Long</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>ProductList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>false</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>PlaceHolder</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>- - - Product Types - - -</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName />
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeEdit</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeEdit</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>ProductTypeId</ParameterName>
              <Name>ProductTypeId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ProductTypeId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>ProductTypes</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeEdit</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteProductTypeEdit</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductTypeEdit</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductTypeEdit</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeRO</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeRO</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>ProductTypeId</ParameterName>
              <Name>ProductTypeId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ProductTypeId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>ProductTypes</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeRO</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeDynaColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeDynaColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeDynaColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductTypeDynaItem</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>ProductTypeCachedList</string>
        <string>ProductTypeCachedNVL</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductTypeDynaColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductTypeDynaColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>DynamicEditableRoot</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeDynaItem</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeDynaItem</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
        <Criteria>
          <Name>CriteriaDelete</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties>
            <Property>
              <ParameterName>ProductTypeId</ParameterName>
              <Name>ProductTypeId</Name>
              <PropertyType>Int32</PropertyType>
              <ReadOnly>false</ReadOnly>
              <Nullable>false</Nullable>
              <Summary />
              <Remarks />
              <DbBindColumn>
                <ColumnOriginType>Table</ColumnOriginType>
                <DataType>Int32</DataType>
                <NativeType>int</NativeType>
                <Size>10</Size>
                <SpResultIndex>0</SpResultIndex>
                <ColumnName>ProductTypeId</ColumnName>
                <IsPrimaryKey>true</IsPrimaryKey>
                <ObjectName>ProductTypes</ObjectName>
                <CatalogName>InvoiceTest</CatalogName>
                <SchemaName>dbo</SchemaName>
                <IsNullable>false</IsNullable>
                <IsIdentity>true</IsIdentity>
              </DbBindColumn>
              <CustomPropertyType />
              <ParameterValue />
              <InlineQueryParameter>Plain</InlineQueryParameter>
            </Property>
          </Properties>
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>DeleteProductTypeDynaItem</ProcedureName>
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>ProductTypeDynaColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductTypeDynaItem</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductTypeDynaItem</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableRootCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeColl</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeColl</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>Criteria</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeColl</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductTypeItem</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache>
        <string>ProductTypeCachedList</string>
        <string>ProductTypeCachedNVL</string>
      </InvalidateCache>
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductTypeColl</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductTypeColl</UpdateProcedureName>
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>true</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>true</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>EditableChild</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeItem</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeItem</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue>_lastId</DefaultValue>
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>true</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaNew</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>true</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType>ProductTypeColl</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>true</AllowNew>
      <AllowEdit>true</AllowEdit>
      <AllowRemove>true</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName>AddProductTypeItem</InsertProcedureName>
      <SelectProcedureName />
      <UpdateProcedureName>UpdateProductTypeItem</UpdateProcedureName>
      <DeleteProcedureName>DeleteProductTypeItem</DeleteProcedureName>
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks>No cache. Updated by ProductTypeDynaItem</ClassRemarks>
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductTypeInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType>ProductTypeDynaItem</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>ProductTypeId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>ProductTypeId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Name</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Name</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>ProductTypeList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks>No cache.</ClassRemarks>
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>ProductTypeId</ValueColumn>
      <NameColumn>Name</NameColumn>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeUpdatedByRootList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks>Updated by ProductTypeEdit</ClassRemarks>
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeUpdatedByRootList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeUpdatedByRootList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductTypeUpdatedByRootInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType>ProductTypeEdit</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeUpdatedByRootInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeUpdatedByRootInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>ProductTypeId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>ProductTypeId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Name</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Name</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>ProductTypeUpdatedByRootList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>true</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyCollection</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeCachedList</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks>Cached. Updated by ProductTypeItem</ClassRemarks>
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeCachedList</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties />
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeCachedList</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType>ProductTypeCachedInfo</ItemType>
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType>ProductTypeItem</UpdaterType>
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>Factory</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>ReadOnlyObject</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeCachedInfo</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks />
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeCachedInfo</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties>
        <UpdateValueProperty>
          <ParameterName />
          <Name>ProductTypeId</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>ProductTypeId</SourcePropertyName>
          <IsIdentity>true</IsIdentity>
        </UpdateValueProperty>
        <UpdateValueProperty>
          <ParameterName />
          <Name>Name</Name>
          <PropertyType>Empty</PropertyType>
          <ReadOnly>false</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <SourcePropertyName>Name</SourcePropertyName>
          <IsIdentity>false</IsIdentity>
        </UpdateValueProperty>
      </UpdateValueProperties>
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>false</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects />
      <ParentType>ProductTypeCachedList</ParentType>
      <ParentProperties />
      <ParentInsertOnly>true</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>None</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn />
      <NameColumn />
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
    <CslaObjectInfo>
      <Generate>true</Generate>
      <GenerateConstructor>true</GenerateConstructor>
      <GenerateFactoryMethods>true</GenerateFactoryMethods>
      <GenerateDataAccessRegion>true</GenerateDataAccessRegion>
      <GenerateDataPortalInsert>false</GenerateDataPortalInsert>
      <GenerateDataPortalUpdate>false</GenerateDataPortalUpdate>
      <GenerateDataPortalDelete>false</GenerateDataPortalDelete>
      <GenerateSprocs>true</GenerateSprocs>
      <GenerateInlineQueries />
      <DataSetLoadingScheme>false</DataSetLoadingScheme>
      <UseCustomLoading>false</UseCustomLoading>
      <ObjectType>NameValueList</ObjectType>
      <UnitOfWorkType>CreatorGetter</UnitOfWorkType>
      <ObjectName>ProductTypeCachedNVL</ObjectName>
      <CslaBaseClass>None</CslaBaseClass>
      <IsGenericType>false</IsGenericType>
      <GenericArguments />
      <ObjectNamespace>Invoices.Business</ObjectNamespace>
      <ClassVisibility>Public</ClassVisibility>
      <ClassSummary />
      <ClassRemarks>Cached.</ClassRemarks>
      <Namespaces />
      <Attributes />
      <Interfaces />
      <InheritedType>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedType>
      <InheritedTypeWinForms>
        <ObjectName />
        <AssemblyFile />
        <Type />
        <IsGenericType>false</IsGenericType>
      </InheritedTypeWinForms>
      <UseUnitOfWorkType />
      <ConstructorVisibility>Default</ConstructorVisibility>
      <Folder />
      <FileName>ProductTypeCachedNVL</FileName>
      <UnitOfWorkProperties />
      <ChildCollectionProperties />
      <ChildProperties />
      <InheritedChildCollectionProperties />
      <InheritedChildProperties />
      <ConvertValueProperties />
      <UpdateValueProperties />
      <InheritedValueProperties />
      <ValueProperties>
        <ValueProperty>
          <ParameterName>ProductTypeId</ParameterName>
          <Name>ProductTypeId</Name>
          <PropertyType>Int32</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>Int32</DataType>
            <NativeType>int</NativeType>
            <Size>10</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>ProductTypeId</ColumnName>
            <IsPrimaryKey>true</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>true</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>DBProvidedPK</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Product Type Id</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>false</Undoable>
        </ValueProperty>
        <ValueProperty>
          <ParameterName>Name</ParameterName>
          <Name>Name</Name>
          <PropertyType>String</PropertyType>
          <ReadOnly>true</ReadOnly>
          <Nullable>false</Nullable>
          <Summary />
          <Remarks />
          <DbBindColumn>
            <ColumnOriginType>Table</ColumnOriginType>
            <DataType>String</DataType>
            <NativeType>varchar</NativeType>
            <Size>50</Size>
            <SpResultIndex>0</SpResultIndex>
            <ColumnName>Name</ColumnName>
            <IsPrimaryKey>false</IsPrimaryKey>
            <ObjectName>ProductTypes</ObjectName>
            <CatalogName>InvoiceTest</CatalogName>
            <SchemaName>dbo</SchemaName>
            <IsNullable>false</IsNullable>
            <IsIdentity>false</IsIdentity>
          </DbBindColumn>
          <DataAccess>ReadWrite</DataAccess>
          <PrimaryKey>Default</PrimaryKey>
          <FKConstraint />
          <FriendlyName>Name</FriendlyName>
          <IsDatabaseBound>true</IsDatabaseBound>
          <CustomPropertyType />
          <DeclarationMode>Managed</DeclarationMode>
          <BackingFieldType>Empty</BackingFieldType>
          <DefaultValue />
          <Attributes />
          <Interfaces />
          <BusinessRules />
          <AuthzProvider>IsInRole</AuthzProvider>
          <ReadRoles />
          <WriteRoles />
          <ReadAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </ReadAuthzRuleType>
          <WriteAuthzRuleType>
            <BaseRuleProperties />
            <Name />
            <ObjectName />
            <AssemblyFile />
            <Type />
            <Constructors />
            <RuleProperties />
            <CacheResult>false</CacheResult>
          </WriteAuthzRuleType>
          <Access>IsPublic</Access>
          <PropSetAccessibility>Default</PropSetAccessibility>
          <Undoable>true</Undoable>
        </ValueProperty>
      </ValueProperties>
      <Singleton>false</Singleton>
      <EditOnDemand>false</EditOnDemand>
      <CheckRulesOnFetch>true</CheckRulesOnFetch>
      <SupportUpdateProperties>false</SupportUpdateProperties>
      <CriteriaObjects>
        <Criteria>
          <Name>CriteriaGet</Name>
          <CriteriaClassMode>Simple</CriteriaClassMode>
          <NestedClass>true</NestedClass>
          <Properties />
          <CreateOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </CreateOptions>
          <GetOptions>
            <Factory>true</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>true</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>true</Procedure>
            <ProcedureName>GetProductTypeCachedNVL</ProcedureName>
            <FactorySuffix />
          </GetOptions>
          <DeleteOptions>
            <Factory>false</Factory>
            <AddRemove>false</AddRemove>
            <DataPortal>false</DataPortal>
            <RunLocal>false</RunLocal>
            <Procedure>false</Procedure>
            <ProcedureName />
            <FactorySuffix />
          </DeleteOptions>
          <Summary />
          <Remarks />
        </Criteria>
      </CriteriaObjects>
      <ParentType />
      <ParentProperties />
      <ParentInsertOnly>false</ParentInsertOnly>
      <IsPolymorphic>false</IsPolymorphic>
      <ItemType />
      <ContainsItem>true</ContainsItem>
      <UniqueItems>false</UniqueItems>
      <FindMethodsParameters />
      <UpdaterType />
      <AllowNew>false</AllowNew>
      <AllowEdit>false</AllowEdit>
      <AllowRemove>false</AllowRemove>
      <AddParentReference>false</AddParentReference>
      <SimpleCacheOptions>DataPortal</SimpleCacheOptions>
      <InvalidateCache />
      <ValueColumn>ProductTypeId</ValueColumn>
      <NameColumn>Name</NameColumn>
      <PersistenceType>SqlConnectionManager</PersistenceType>
      <CommandTimeout />
      <TransactionType>TransactionScope</TransactionType>
      <InsertUpdateRunLocal>false</InsertUpdateRunLocal>
      <InsertProcedureName />
      <SelectProcedureName />
      <UpdateProcedureName />
      <DeleteProcedureName />
      <DeleteUseTimestamp>false</DeleteUseTimestamp>
      <RemoveItem>true</RemoveItem>
      <ToStringProperty />
      <BusinessRules />
      <AuthzProvider>IsInRole</AuthzProvider>
      <NewRoles />
      <GetRoles />
      <UpdateRoles />
      <DeleteRoles />
      <NewAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </NewAuthzRuleType>
      <GetAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </GetAuthzRuleType>
      <UpdateAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </UpdateAuthzRuleType>
      <DeleteAuthzRuleType>
        <BaseRuleProperties />
        <Name />
        <ObjectName />
        <AssemblyFile />
        <Type />
        <Constructors />
        <RuleProperties />
        <CacheResult>false</CacheResult>
      </DeleteAuthzRuleType>
    </CslaObjectInfo>
  </CslaObjects>
  <AssociativeEntities />
  <ConnectionString>Server=(local);Database=InvoiceTest;persist security info=False;user id=sa;password=password_1234;packet size=4096</ConnectionString>
  <ProjectName>Invoices CS DAL-DR</ProjectName>
  <TargetDirectory>..\Invoices-CS-DAL-DR</TargetDirectory>
  <FileVersion>4.0.6</FileVersion>
</CslaGeneratorUnit>